package org.hxc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * 用户角色表(SysUserRole)表实体类
 *
 * @author hxc
 * @since 2024-11-07 15:30:34
 */
@TableName("sys_user_role")
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class SysUserRole{
    //主键id
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    //用户id
    private String userId;
    //角色id
    private String roleId;

}

